#include <gwbase/base/test_harness.h>
#include <dicom/restful_url.h>

using namespace dicom;

class RestfulUrlTest {};

TEST(RestfulUrlTest, SimpleMatch) {
  UrlPattern p("^/api/files/(.*)/content$");

  UrlParams params;
  p.MatchUrl("/api/files/12141234/content", &params);
}

int main() { RunAllTests(); }
